<%@ page import="java.util.*,java.sql.*,org.owasp.esapi.ESAPI" pageEncoding="UTF-8" buffer="1000kb" contentType="text/html; charset=UTF-8" %><jsp:useBean id="definitionManager" scope="application" class="org.languageguide.readings.DefinitionManager" />

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>

<body>
<%
	//String translationString = code.getTranslationString(category, lang, langTrans);
	definitionManager.saveDefinitions(session, response, request);
%>
<%!
	public void redirect(HttpServletResponse response, HttpServletRequest request, String category, String num, String lang, String target, String section) throws java.io.IOException{

		String redirectURL = request.getParameter("redirect_url");
		System.out.println("redirectURL" + redirectURL);
		if (redirectURL != null){
			//System.out.println("here comes the redirect");
			response.sendRedirect(redirectURL);
				//response.sendRedirect("/");
			//System.out.println("redirected to : " + redirectURL);
		}
	}
%>

<strong>done</strong>
</body>
</html></em>